from django.shortcuts import render

"""错误页面处理"""


def error404(request, exception):
    return render(request, '404.html', status=404)


def error500(request):
    return render(request, '404.html', status=500)
